package com.yuyou.fn.electronicinvoice.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * 发票数据
 *
 */
@TableName(value = "invoice")
public class Invoice implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<Invoice> createExample(){
		return new Example<Invoice>(Invoice.class);
	}

	/**  */
	@TableId(value = "invoice_id")
	private Long invoiceId;


	@TableField(value = "good_id")
	private Long goodId;

	@TableField(value = "good_name")
	private String goodName;

	@TableField(value = "good_type")
	private Integer goodType;


	/**  */
	@TableField(value = "order_id")
	private Long orderId;

	/**  */
	@TableField(value = "buyer_id")
	private Long buyerId;

	/**  */
	@TableField(value = "buyer_name")
	private String buyerName;


	@TableField(value = "buyer_phone")
	private String buyerPhone;

	@TableField(value = "buyer_email")
	private String buyerEmail;

	/**  */
	@TableField(value = "finance_subject_id")
	private Long financeSubjectId;

	/**  */
	@TableField(value = "invoice_project")
	private String invoiceProject;

	/**  */
	@TableField(value = "invoice_member")
	private String invoiceMember;

	/** 开票类型 1正票、2红票 */
	@TableField(value = "invoice_type")
	private Integer invoiceType;

	/**  */
	@TableField(value = "operation_code")
	private Integer operationCode;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/** 备注 */
	private String remark;

	/**  */
	@TableField(value = "rush_red_reason")
	private String rushRedReason;

	/**  */
	@TableField(value = "tax_total_amount")
	private BigDecimal taxTotalAmount;

	@TableField(value = "return_message")
	private String returnMessage;


	@TableField("pdf_url")
	private String pdfUrl;

	@TableField("invoice_code")
	private String invoiceCode;

	@TableField("invoice_number")
	private String invoiceNumber;

	/*0失效， 1有效*/
	private Integer status;

	@TableField("check_code")
	private String checkCode;

	@TableField("operator_id")
	private Long operatorId;

	@TableField("operator_name")
	private String operatorName;

	public Long getInvoiceId() {
		return this.invoiceId;
	}

	public void setInvoiceId(Long invoiceId) {
		this.invoiceId = invoiceId;
	}


	public Long getGoodId() {
		return goodId;
	}

	public void setGoodId(Long goodId) {
		this.goodId = goodId;
	}

	public String getGoodName() {
		return goodName;
	}

	public void setGoodName(String goodName) {
		this.goodName = goodName;
	}

	public Integer getGoodType() {
		return goodType;
	}

	public void setGoodType(Integer goodType) {
		this.goodType = goodType;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public Long getBuyerId() {
		return this.buyerId;
	}

	public void setBuyerId(Long buyerId) {
		this.buyerId = buyerId;
	}

	public String getBuyerName() {
		return this.buyerName;
	}

	public void setBuyerName(String buyerName) {
		this.buyerName = buyerName;
	}

	public String getBuyerPhone() {
		return buyerPhone;
	}

	public void setBuyerPhone(String buyerPhone) {
		this.buyerPhone = buyerPhone;
	}

	public String getBuyerEmail() {
		return buyerEmail;
	}

	public void setBuyerEmail(String buyerEmail) {
		this.buyerEmail = buyerEmail;
	}

	public Long getFinanceSubjectId() {
		return this.financeSubjectId;
	}

	public void setFinanceSubjectId(Long financeSubjectId) {
		this.financeSubjectId = financeSubjectId;
	}

	public String getInvoiceProject() {
		return this.invoiceProject;
	}

	public void setInvoiceProject(String invoiceProject) {
		this.invoiceProject = invoiceProject;
	}

	public String getInvoiceMember() {
		return this.invoiceMember;
	}

	public void setInvoiceMember(String invoiceMember) {
		this.invoiceMember = invoiceMember;
	}

	public Integer getInvoiceType() {
		return this.invoiceType;
	}

	public void setInvoiceType(Integer invoiceType) {
		this.invoiceType = invoiceType;
	}

	public Integer getOperationCode() {
		return this.operationCode;
	}

	public void setOperationCode(Integer operationCode) {
		this.operationCode = operationCode;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getRushRedReason() {
		return this.rushRedReason;
	}

	public void setRushRedReason(String rushRedReason) {
		this.rushRedReason = rushRedReason;
	}

	public BigDecimal getTaxTotalAmount() {
		return taxTotalAmount;
	}

	public void setTaxTotalAmount(BigDecimal taxTotalAmount) {
		this.taxTotalAmount = taxTotalAmount;
	}

	public String getReturnMessage() {
		return returnMessage;
	}

	public void setReturnMessage(String returnMessage) {
		this.returnMessage = returnMessage;
	}

	public String getPdfUrl() {
		return pdfUrl;
	}

	public void setPdfUrl(String pdfUrl) {
		this.pdfUrl = pdfUrl;
	}

	public String getInvoiceCode() {
		return invoiceCode;
	}

	public void setInvoiceCode(String invoiceCode) {
		this.invoiceCode = invoiceCode;
	}

	public String getInvoiceNumber() {
		return invoiceNumber;
	}

	public void setInvoiceNumber(String invoiceNumber) {
		this.invoiceNumber = invoiceNumber;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getCheckCode() {
		return checkCode;
	}

	public void setCheckCode(String checkCode) {
		this.checkCode = checkCode;
	}

	public Long getOperatorId() {
		return operatorId;
	}

	public void setOperatorId(Long operatorId) {
		this.operatorId = operatorId;
	}

	public String getOperatorName() {
		return operatorName;
	}

	public void setOperatorName(String operatorName) {
		this.operatorName = operatorName;
	}
}
